package com.jason.bbs.article.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.jason.bbs.article.fegin.hystrix.BlockHystrix;
import com.jason.bbs.bean.ResultJson;

@FeignClient(name="service-block",fallback=BlockHystrix.class)
public interface BlockService {
	@GetMapping("/exitis/{blockId}")
	public ResultJson exitis(@PathVariable("blockId")Integer blockId);
}
